const $$eventBusMap ={};

export const $$on = (eventCode,func) =>{
	$$eventBusMap[eventCode] = func;
}

export const $$event = (eventCode, eventInfo) =>{
	if($$eventBusMap[eventCode]){
		$$eventBusMap[eventCode](eventInfo);
	}
}

